$OpenBSD: patch-src_glob_c,v 1.1 2011/04/22 11:37:46 sthen Exp $
--- src/glob.c.orig	Sun Apr 17 09:59:32 2011
+++ src/glob.c	Sun Apr 17 09:59:38 2011
@@ -48,7 +48,7 @@ int strmatch(const char *str, const char *pat)
 
 	switch (*pat)
 	{
-	    case NULL:	// pattern at end
+	    case 0:	// pattern at end
 		return (!*str); // String at end ?
 
 	    case '*':  // match all
